[INFO] cloning repository https://github.com/Licenser/geo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Licenser/geo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicenser%2Fgeo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicenser%2Fgeo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19b2337d5c8793fb88d5d92dfb403853cf80db27
[INFO] checking Licenser/geo against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicenser%2Fgeo" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Licenser/geo on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Licenser/geo
[INFO] finished tweaking git repo https://github.com/Licenser/geo
[INFO] tweaked toml for git repo https://github.com/Licenser/geo written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/Licenser/geo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8736ca042ad1304f51b0b306c59ce5bf7de573a1c6a00fd3e476c952b67deb8e
[INFO] running `Command { std: "docker" "start" "-a" "8736ca042ad1304f51b0b306c59ce5bf7de573a1c6a00fd3e476c952b67deb8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8736ca042ad1304f51b0b306c59ce5bf7de573a1c6a00fd3e476c952b67deb8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8736ca042ad1304f51b0b306c59ce5bf7de573a1c6a00fd3e476c952b67deb8e", kill_on_drop: false }`
[INFO] [stdout] 8736ca042ad1304f51b0b306c59ce5bf7de573a1c6a00fd3e476c952b67deb8e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3285350a015c11c591cf9ab4db3e36b35d90ece9bba3f3eef227346990514bc9
[INFO] running `Command { std: "docker" "start" "-a" "3285350a015c11c591cf9ab4db3e36b35d90ece9bba3f3eef227346990514bc9", kill_on_drop: false }`
[INFO] [stderr]     Checking geo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | /     match shape {
[INFO] [stdout] 27 | |         "square" => Square::new(),
[INFO] [stdout]    | |                     ------------- this is found to be of type `Square`
[INFO] [stdout] 28 | |         "circle" => Circle::new(),
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^ expected struct `Square`, found struct `Circle`
[INFO] [stdout] 29 | |         other => panic!("Bad shape: {}", other),
[INFO] [stdout] 30 | |     }
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout] help: you could change the return type to be a boxed trait object
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn new_geo(shape: &str) -> Box<dyn Geometry> {
[INFO] [stdout]    |                            ~~~~~~~         +
[INFO] [stdout] help: if you change the return type to expect trait objects, box the returned expressions
[INFO] [stdout]    |
[INFO] [stdout] 27 ~         "square" => Box::new(Square::new()),
[INFO] [stdout] 28 ~         "circle" => Box::new(Circle::new()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | /     match shape {
[INFO] [stdout] 27 | |         "square" => Square::new(),
[INFO] [stdout]    | |                     ------------- this is found to be of type `Square`
[INFO] [stdout] 28 | |         "circle" => Circle::new(),
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^ expected struct `Square`, found struct `Circle`
[INFO] [stdout] 29 | |         other => panic!("Bad shape: {}", other),
[INFO] [stdout] 30 | |     }
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout] help: you could change the return type to be a boxed trait object
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn new_geo(shape: &str) -> Box<dyn Geometry> {
[INFO] [stdout]    |                            ~~~~~~~         +
[INFO] [stdout] help: if you change the return type to expect trait objects, box the returned expressions
[INFO] [stdout]    |
[INFO] [stdout] 27 ~         "square" => Box::new(Square::new()),
[INFO] [stdout] 28 ~         "circle" => Box::new(Circle::new()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `geo` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `geo` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "3285350a015c11c591cf9ab4db3e36b35d90ece9bba3f3eef227346990514bc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3285350a015c11c591cf9ab4db3e36b35d90ece9bba3f3eef227346990514bc9", kill_on_drop: false }`
[INFO] [stdout] 3285350a015c11c591cf9ab4db3e36b35d90ece9bba3f3eef227346990514bc9
